import java.awt.*;
import java.time.LocalDate;
import java.util.Scanner;

public class Day3 {
    public static void main(String[] args)
    {
//        System.out.println(Sum(1,3));
//        Scanner sc = new Scanner(System.in);
//        int a = sc.nextInt();
//        int b = sc.nextInt();
//        int c = sc.nextInt();
//        System.out.printf("%d %d %d", a, b, c);
//        System.out.println();
        Employee emp = new Employee("Sam", 16000,2027,10,30);
        emp.print();
    }

//    public static int Sum(int a, int b)
//    {
//        return a + b;
//    }
}



class Employee
{
    private String name;
    public double salary;
    private LocalDate hireDay;

    public Employee(String n, double s, int year, int month, int day)
    {
        name = n;
        salary = s;
        hireDay = LocalDate.of(year, month, day);
    }

    public Employee()
    {
        name = "";
        salary = 0;
        hireDay = null;
    }

    public String getName()
    {
        return name;
    }
    public double getSalary() { return salary; }

    public void print()
    {
        System.out.println("name:" + name);
        System.out.println("salary:" + salary);
        System.out.println("hire day:" + hireDay.toString());
    }

}
